package com.jkt.rms.dataservice;

import java.util.List;

import org.hibernate.criterion.DetachedCriteria;

import com.jkt.rms.business.Project;
import com.jkt.rms.business.ResourceRole;
import com.jkt.rms.commons.utils.RMSException;

public interface ProjectDataService {
	public Project saveProject(Project project) throws RMSException;
	public List<Project> findByCriteria(DetachedCriteria crit, int offset,
			int maxResults);
	public List<Project> findByCriteria(DetachedCriteria crit);
	public Project findProjectById(int projectId);
	public void updateProject(Project project) throws RMSException;
	public List<Project> findAllActiveProject();
}
